# -*- coding: utf-8 -*-
"""
Created on Fri Nov 20 10:35:43 2020

@author: weifeng.zhang
"""

class ModelBean:
    def __init__(self,
                 algorithm_code: str, #算法编码
                 model_name: str,#模型名称
                 model_code: str,#模型编码
                 model_desc: str,#模型描述
                 training_file: str,#训练文件名称
                 incremant_file: str, #增量文件
                 #model_base_dir: str, #模型存储绝对路径
                 #training_file_path: str #训练文件绝对路径
                 ):
         self.algorithm_code = algorithm_code
         self.model_name = model_name
         self.model_code = model_code
         self.model_desc = model_desc
         self.training_file = training_file
         self.incremant_file = incremant_file
         #self.model_base_dir = model_base_dir
         #self.training_file_path = training_file_path
    
class AlgorithmBean:
    def __init__(self,
                 algorithm_code: str,#算法编码
                 algorithm_name: str,#算法名称
                 algorithm_desc: str,#算法描述
                 algorithm_doc:str,#算法描述文档
                 training_template : str,#训练文件模板
                 #algorithm_model: str,#执行模型名称
                 #training_methond : str,#训练模型方法
                 #call_method : str#调用模型方法
                 ):
         self.algorithm_code = algorithm_code
         self.algorithm_name = algorithm_name
         self.algorithm_desc = algorithm_desc
         self.algorithm_doc = algorithm_doc 
         self.training_template = training_template
         #self.algorithm_model = algorithm_model
         #self.training_methond = training_methond
         #self.call_method = call_method